package com.wang.user.service.user;

import com.wang.user.model.UserToken;

public interface UserTokenService {
    /**
     * 获取UserToken
     * @param openId 微信为openid
     * @return UserToken
     */
    UserToken getByOpenidAndType(String openId);

    UserToken getTokenByUserId(Integer uid);

    void bind(String openId, Integer uid);
}
